package cn.bughub.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 角色实体
 *
 * @author zwj
 * @date 2024-09-23 17:30
 */
@Data
@TableName("roles")
public class RolesEntity {
    
    @TableId(type = IdType.ASSIGN_ID, value = "role_id")
    private Long roleId;
    
    @TableField("role_name")
    private String roleName;
    
    @TableField("delete_flag")
    private Boolean deleteFlag;
    
    @TableField("created_by")
    private Long createdBy;
    
    @TableField("created_time")
    private LocalDateTime createdTime;
    
    @TableField("updated_by")
    private Long updatedBy;
    
    @TableField("updated_time")
    private LocalDateTime updatedTime;
}
